package org.example.completed.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2025-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("paidevent_reservation")
public class PaideventReservation implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String name;

    private String contact;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime visitTime;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 参观总人数
     */
    private Integer totalNumber;

    /**
     * 参观报名人数
     */
    private Integer applyNumber;

    private String userId;

    private String userAcoount; // 用户名


}
